import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';

class InviteHeader extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: const Color(0xFF151313),
      padding: EdgeInsets.symmetric(vertical: 35.h),
      child: Row(
        children: [
          GestureDetector(
            onTap: () => Get.back(),
            child: Padding(
              padding: EdgeInsets.only(left: 30.w),
              child: Icon(
                Icons.arrow_back_ios,
                color: Colors.white,
                size: 48.sp,
              ),
            ),
          ),
          Expanded(
            child: Center(
              child: Text(
                'Invite friends',
                style: TextStyle(
                  color: Colors.white,
                  fontSize: 36.sp,
                  fontWeight: FontWeight.bold,
                ),
              ),
            ),
          ),
          SizedBox(width: 78.w),
        ],
      ),
    );
  }
}
